package com.bocloud.service;

import com.bocloud.mapper.*;
import com.bocloud.model.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/12/16.
 */
@Service
public class PostServiceImp implements PostService{


    @Autowired
    private PostMapper postMapper;

    /**
     * 用途：获取岗位表中的所有数据
     * @param
     * @return Company
     */
    @Override
    public List<Post> getAllPost() {
        return postMapper.getAll();
    }
}
